<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="./css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="./css/dashboard.css" rel="stylesheet" type="text/css" />
    <script src="./js/angular.js"></script>
    <script src="./js/angular-file-upload.js"></script>
    <script src="./js/angular-route.js"></script>
    <script src="./js/angular-websocket.js"></script>
    <script src="./js/ui-bootstrap.js"></script>
    <script src="./js/ui-bootstrap-tpls.min.js"></script>
    <script src="./js/socket.io.js"></script>
</head>

<body class="ng-scope" ng-app="managerApp" ng-controller="managerCtrl">
    <nav class="navbar navbar-inverse navbar-fixed-top" ng-controller="navCtrl">
        <div class="container-fluid">
            <!-- HEADER 响应式 已失效 -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
                    <span class="sr-only"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">AMC System - Merchant</a>
            </div>
            <div class="navbar-collapse collapse" id="navbar">
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#!/food">菜品管理</a></li>
                    <li><a href="#!/order">订单管理</a></li>
                    <li><a href="#">帮助</a></li>
                </ul>
                <form class="navbar-form navbar-right">
                    <input class="form-control" ng-change="searchf()" ng-model="search" type="text" placeholder="Search...">
                    <!--<button class="btn btn-primary" ng-click="searchf()"></button>-->
                </form>
            </div>
            <!-- END HEADER -->
        </div>
    </nav>

    <div class="container-fluid">
        <div class="row">
            <!-- 侧边栏 -->
            <div class="col-sm-3 col-md-2 sidebar" ng-controller="merchantCtrl">
                <ul class="nav nav-sidebar">
                    <!--class="active"-->
                    <li><a href="#!/food">菜品管理</a></li>
                    <li><a href="#!/order">订单管理</a></li>
                </ul>
                <ul class="nav nav-sidebar" ng-init="initMerchant()">
                    <li><a>商户信息</a></li>
                    <li><a>商户名:</a></li>
                    <li>
                        <a>{{merchant.merchantName}}</a>
                    </li>
                    <li><a>商户照片:</a></li>
                    <li>
                        <a><img class='img-thumbnail' src="{{merchant.headPic}}" width=150px height=120px/></a>
                    </li>
                    <li><a><button class="btn btn-primary" ng-click="logout()">退出系统</button></a></li>
                </ul>
            </div>
            <!-- END 侧边栏 -->

            <!-- MAIN ng-view -->
            <div ng-view>
            </div>
            
        </div>
    </div>
    <!-- <script src="./front/manager.app.js"></script>
    <script src="./front/manager.ctrl.js"></script>
    <script src="./front/nav.ctrl.js"></script>
    <script src="./front/merchant.ctrl.js"></script>
    <script src="./front/food.ctrl.js"></script>
    <script src="./front/order.ctrl.js"></script> -->
    <script src="./front/bundle1.js"></script>
</body>

</html>